#ifndef QxGLSampleWidget_HPP
#define QxGLSampleWidget_HPP

#include "qglsamplelib_global.h"

#include <QGLWidget>

class QGLSAMPLELIBSHARED_EXPORT QxGLSampleWidget : public QGLWidget
{
public:

  QxGLSampleWidget( QWidget* parent=0 );
  virtual ~QxGLSampleWidget();

  void startAnimation( float mseconds=0 );
  void stopAnimation();

private:

  class QxGLSampleWidgetPrivate;
  QScopedPointer<QxGLSampleWidgetPrivate>         _pd;
};

#endif // QxGLSampleWidget_HPP
